﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="manage_ajax_dialog_orderview.aspx.cs" Inherits="WebPage_ajaxPage_manage_ajax_dialog_orderview" %>


   <div id="order-pay-dialog" class="order-pay-dialog-c" style="width:480px;">
	<h3><span id="order-pay-dialog-close" class="close" onclick="return X.boxClose();">关闭</span></h3>
	<div style="overflow-x:hidden;padding:10px;" id="dialog-order-id">
	<table width="96%" align="center" class="coupons-table">
    <tr><td width="80"><b>用户名：</b></td><td><span id="username" runat="server"></span></td></tr>
		<tr><td><b>Email：</b></td><td><span id="email" runat="server"></span></td></tr>
		<tr><td><b>项目名称：</b></td><td><span id="title" runat="server"></span></td></tr>
		<tr><td class="style1"><b>购买数量：</b></td><td class="style1"><span id="quantity" runat="server"></span></td></tr>
		<tr><td><b>付款状态：</b></td><td><span id="state" runat="server"></span></td></tr>
		<tr><td><b>交易单号：</b></td><td><span id="pay_id" runat="server"></span></td></tr>
		<tr><td><b>付款明细：</b></td><td><span id="credit" runat="server"></span>元<span id="service" runat="server"></span>支付 <span id="money" runat="server"></span> 元&nbsp;代金券：<span id="card" runat="server"></span> 元</td></tr>
		<tr><td><b>订单时间：</b></td><td><span id="date" runat="server"></span></td></tr>
        <input id="hid" type="hidden" runat="server"/>
	<%if (userarr["mobile"] != String.Empty)
   { %>
		<tr><td><b>联系手机：</b></td><td><span id="mobile" runat="server"></span>
          

        </td></tr>
	<%} %>
        <input id="Hidden1" type="hidden" />
	<%if (userarr["qq"] != String.Empty)
   { %>
		<tr><td><b>QQ：</b></td><td><span id="qq" runat="server"></span></td></tr>
	<%} %>

	<%if (userarr["msn"] != String.Empty)
   { %>
		<tr><td><b>MSN：</b></td><td><span id="msn" runat="server"></span></td></tr>
	<%} %>
	<%if (orderarr["remark"]!=String.Empty)
   { %>
		<tr><td width="80"><b>买家留言：</b></td><td><span id="remark" runat="server"></span></td></tr>
	<%} %>

    <%if (item.Team_id == 0 || item.Team_id.ToString() == "")
      { %>

      <tr><td colspan="2"><hr/></td></tr>
		<tr><td width="80" class="style1"><b>收件人：</b></td><td class="style1"><span id="realname1" runat="server"></span></td></tr>
		<tr><td><b>手机号码：</b></td><td><span id="mobileName1" runat="server"></span></td></tr>
		<tr><td><b>收件地址：</b></td><td><span id="address1" runat="server"></span></td></tr>
		<tr id="tr3" runat="server"><td colspan="2"><hr/></td></tr>
		<tr id="tr4" runat="server"><td><b>快递信息：</b></td><td>
        <label id="express1" runat="server"></label>
        <%=txt%>
          <input type="text" id="express_no1" name="express_no"  value=""
                style="width:150px; margin-bottom: 0px;" maxLength="32" runat="server" group="a" />&nbsp;&nbsp;<input type="submit" action="/WebPage/ajaxPage/manage_ajax_dialog_orderview.aspx?pagenum=<%=pagenum %>"  value="修改"  class="validator" group="a" /></td></tr>

<tr><td colspan="2"><hr/></td></tr>

<%=wuliu %>




    <% }else{%>
    <%if (teamarr != null)
      { %>
	<%if (teamarr["delivery"] == "express")
   { %>
		<tr><td colspan="2"><hr/></td></tr>
		<tr><td width="80" class="style1"><b>收件人：</b></td><td class="style1"><span id="realname" runat="server"></span></td></tr>
		<tr><td><b>手机号码：</b></td><td><span id="mobileName" runat="server"></span></td></tr>
		<tr><td><b>收件地址：</b></td><td><span id="address" runat="server"></span></td></tr>
		<tr id="tr2" runat="server"><td colspan="2"><hr/></td></tr>
		<tr id="tr1" runat="server"><td><b>快递信息：</b></td><td>
        <label id="express" runat="server"></label>
        
     
      
          <input type="text" id="express_no" name="express_no"  value=""
                style="width:150px; margin-bottom: 0px;" maxLength="32" runat="server" group="a" />&nbsp;&nbsp;<input type="submit" action="/WebPage/ajaxPage/manage_ajax_dialog_orderview.aspx?pagenum=<%=pagenum %>"  value="修改"  class="validator" group="a" /></td></tr>
	<tr><td colspan="2"><hr/></td></tr>

<%=wuliu %>



    <%}
   else
   {%> 
    	
    	
   <%}
      }}%>
     

     

	<%if(orderarr["state"]=="pay"){ %>
		
		<tr><td><b>退款处理：</b></td><td>
        
          <label id="optionfund" runat="server"></label>
     &nbsp;<input type="submit" value="确定"   class="validator"  action="/WebPage/ajaxPage/manage_ajax_dialog_orderview.aspx?pagenum=<%=pagenum %>"/></td></tr>
	<%} %>

	</table>
	</div>
</div>
<script type="text/javascript">
    x_init_hook_validator();
</script>